package com.xinqi.modules.chat.chat.message.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 聊天消息自定义表情表-请求对象-新增
 *
 * @author: yyzhen
 * @date: 2023/07/11
 */
@Data
@Schema(description = "聊天消息自定义表情表-请求对象-新增")
public class ChatEmojiMessageCreateDTO implements Serializable {

    @Schema(description = "文件名", example = "")
    private String fileName;

    @NotEmpty(message = "{chat.message.emoji.filePath.not.blank}")
    @Schema(description = "文件路径", example = "")
    private String filePath;

    @Schema(description = "文件后缀", example = "")
    private String fileExt;

    @Schema(description = "文件大小", example = "")
    private Integer size;
}
